package com.prs.crm.service.oa;

import com.prs.crm.domain.oa.Announcement;
import com.prs.crm.domain.oa.AnnouncementReceive;
import com.prs.crm.domain.oa.Comment;
import com.prs.crm.domain.oa.News;
import com.prs.crm.domain.oa.NewsReceive;
import com.prs.crm.domain.oa.Notice;
import com.prs.crm.domain.oa.NoticeAccept;
import com.prs.crm.domain.oa.PictureNews;
import com.prs.crm.domain.oa.PictureNewsReceive;
import com.prs.crm.service.BaseService;

public interface CommentService  extends BaseService<Comment>{
	Comment getCommentByNews(News news);
	Comment getCommentByPictureNews(PictureNews pictureNews);
	Comment getCommentByAnnouncement(Announcement announcement);
	Comment getCommentByNotice(Notice notice);
	Comment getCommentByNotice(NewsReceive newsReceive);
	Comment getCommentByNotice(PictureNewsReceive pictureNewsReceive);
	Comment getCommentByNotice(AnnouncementReceive announcementReceive);
	Comment getCommentByNotice(NoticeAccept noticeAccept);
}
